package com.edu.dao;

import com.edu.data.News;

import java.util.List;

public interface NewsMapper {
    int insert(News record);

    int insertSelective(News record);

    List<News> AllNews();

    void update(News news);

    void delete(Long id);

    News findById(Long id);
}